package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class LumierePayMemberExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LumierePayMemberExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public LumierePayMemberExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public LumierePayMemberExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public static Criteria newAndCreateCriteria() {
        LumierePayMemberExample example = new LumierePayMemberExample();
        return example.createCriteria();
    }

    public LumierePayMemberExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public LumierePayMemberExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> shopIdsCriteria;

        protected List<Criterion> giftCardIdsCriteria;

        protected List<Criterion> allCriteria;

        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
            shopIdsCriteria = new ArrayList<Criterion>();
            giftCardIdsCriteria = new ArrayList<Criterion>();
        }

        public List<Criterion> getShopIdsCriteria() {
            return shopIdsCriteria;
        }

        protected void addShopIdsCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            shopIdsCriteria.add(new Criterion(condition, value, "org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"));
            allCriteria = null;
        }

        protected void addShopIdsCriterion(String condition, Integer[] value1, Integer[] value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            shopIdsCriteria.add(new Criterion(condition, value1, value2, "org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"));
            allCriteria = null;
        }

        public List<Criterion> getGiftCardIdsCriteria() {
            return giftCardIdsCriteria;
        }

        protected void addGiftCardIdsCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            giftCardIdsCriteria.add(new Criterion(condition, value, "org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"));
            allCriteria = null;
        }

        protected void addGiftCardIdsCriterion(String condition, Integer[] value1, Integer[] value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            giftCardIdsCriteria.add(new Criterion(condition, value1, value2, "org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"));
            allCriteria = null;
        }

        public boolean isValid() {
            return criteria.size() > 0
                || shopIdsCriteria.size() > 0
                || giftCardIdsCriteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            if (allCriteria == null) {
                allCriteria = new ArrayList<Criterion>();
                allCriteria.addAll(criteria);
                allCriteria.addAll(shopIdsCriteria);
                allCriteria.addAll(giftCardIdsCriteria);
            }
            return allCriteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
            allCriteria = null;
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
            allCriteria = null;
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
            allCriteria = null;
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPicUrlIsNull() {
            addCriterion("pic_url is null");
            return (Criteria) this;
        }

        public Criteria andPicUrlIsNotNull() {
            addCriterion("pic_url is not null");
            return (Criteria) this;
        }

        public Criteria andPicUrlEqualTo(String value) {
            addCriterion("pic_url =", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlNotEqualTo(String value) {
            addCriterion("pic_url <>", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlGreaterThan(String value) {
            addCriterion("pic_url >", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
            addCriterion("pic_url >=", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlLessThan(String value) {
            addCriterion("pic_url <", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlLessThanOrEqualTo(String value) {
            addCriterion("pic_url <=", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPicUrlLike(String value) {
            addCriterion("pic_url like", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlNotLike(String value) {
            addCriterion("pic_url not like", value, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlIn(List<String> values) {
            addCriterion("pic_url in", values, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlNotIn(List<String> values) {
            addCriterion("pic_url not in", values, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlBetween(String value1, String value2) {
            addCriterion("pic_url between", value1, value2, "picUrl");
            return (Criteria) this;
        }

        public Criteria andPicUrlNotBetween(String value1, String value2) {
            addCriterion("pic_url not between", value1, value2, "picUrl");
            return (Criteria) this;
        }

        public Criteria andUseRangeIsNull() {
            addCriterion("use_range is null");
            return (Criteria) this;
        }

        public Criteria andUseRangeIsNotNull() {
            addCriterion("use_range is not null");
            return (Criteria) this;
        }

        public Criteria andUseRangeEqualTo(Byte value) {
            addCriterion("use_range =", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeNotEqualTo(Byte value) {
            addCriterion("use_range <>", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeGreaterThan(Byte value) {
            addCriterion("use_range >", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeGreaterThanOrEqualTo(Byte value) {
            addCriterion("use_range >=", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeLessThan(Byte value) {
            addCriterion("use_range <", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeLessThanOrEqualTo(Byte value) {
            addCriterion("use_range <=", value, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("use_range <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUseRangeIn(List<Byte> values) {
            addCriterion("use_range in", values, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeNotIn(List<Byte> values) {
            addCriterion("use_range not in", values, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeBetween(Byte value1, Byte value2) {
            addCriterion("use_range between", value1, value2, "useRange");
            return (Criteria) this;
        }

        public Criteria andUseRangeNotBetween(Byte value1, Byte value2) {
            addCriterion("use_range not between", value1, value2, "useRange");
            return (Criteria) this;
        }

        public Criteria andShopIdsIsNull() {
            addCriterion("shop_ids is null");
            return (Criteria) this;
        }

        public Criteria andShopIdsIsNotNull() {
            addCriterion("shop_ids is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdsEqualTo(Integer[] value) {
            addShopIdsCriterion("shop_ids =", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsNotEqualTo(Integer[] value) {
            addShopIdsCriterion("shop_ids <>", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsGreaterThan(Integer[] value) {
            addShopIdsCriterion("shop_ids >", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsGreaterThanOrEqualTo(Integer[] value) {
            addShopIdsCriterion("shop_ids >=", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsLessThan(Integer[] value) {
            addShopIdsCriterion("shop_ids <", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsLessThanOrEqualTo(Integer[] value) {
            addShopIdsCriterion("shop_ids <=", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("shop_ids <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopIdsLike(Integer[] value) {
            addShopIdsCriterion("shop_ids like", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsNotLike(Integer[] value) {
            addShopIdsCriterion("shop_ids not like", value, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsIn(List<Integer[]> values) {
            addShopIdsCriterion("shop_ids in", values, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsNotIn(List<Integer[]> values) {
            addShopIdsCriterion("shop_ids not in", values, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsBetween(Integer[] value1, Integer[] value2) {
            addShopIdsCriterion("shop_ids between", value1, value2, "shopIds");
            return (Criteria) this;
        }

        public Criteria andShopIdsNotBetween(Integer[] value1, Integer[] value2) {
            addShopIdsCriterion("shop_ids not between", value1, value2, "shopIds");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysIsNull() {
            addCriterion("expired_days is null");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysIsNotNull() {
            addCriterion("expired_days is not null");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysEqualTo(Integer value) {
            addCriterion("expired_days =", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysNotEqualTo(Integer value) {
            addCriterion("expired_days <>", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysGreaterThan(Integer value) {
            addCriterion("expired_days >", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("expired_days >=", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysLessThan(Integer value) {
            addCriterion("expired_days <", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysLessThanOrEqualTo(Integer value) {
            addCriterion("expired_days <=", value, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("expired_days <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpiredDaysIn(List<Integer> values) {
            addCriterion("expired_days in", values, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysNotIn(List<Integer> values) {
            addCriterion("expired_days not in", values, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysBetween(Integer value1, Integer value2) {
            addCriterion("expired_days between", value1, value2, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andExpiredDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("expired_days not between", value1, value2, "expiredDays");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(BigDecimal value) {
            addCriterion("money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(BigDecimal value) {
            addCriterion("money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(BigDecimal value) {
            addCriterion("money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(BigDecimal value) {
            addCriterion("money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("money <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<BigDecimal> values) {
            addCriterion("money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<BigDecimal> values) {
            addCriterion("money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andPointIsNull() {
            addCriterion("point is null");
            return (Criteria) this;
        }

        public Criteria andPointIsNotNull() {
            addCriterion("point is not null");
            return (Criteria) this;
        }

        public Criteria andPointEqualTo(BigDecimal value) {
            addCriterion("point =", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointNotEqualTo(BigDecimal value) {
            addCriterion("point <>", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointGreaterThan(BigDecimal value) {
            addCriterion("point >", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("point >=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointLessThan(BigDecimal value) {
            addCriterion("point <", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointLessThanOrEqualTo(BigDecimal value) {
            addCriterion("point <=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointIn(List<BigDecimal> values) {
            addCriterion("point in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotIn(List<BigDecimal> values) {
            addCriterion("point not in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("point between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("point not between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalIsNull() {
            addCriterion("is_support_reneval is null");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalIsNotNull() {
            addCriterion("is_support_reneval is not null");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalEqualTo(Boolean value) {
            addCriterion("is_support_reneval =", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalNotEqualTo(Boolean value) {
            addCriterion("is_support_reneval <>", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalGreaterThan(Boolean value) {
            addCriterion("is_support_reneval >", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_support_reneval >=", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalLessThan(Boolean value) {
            addCriterion("is_support_reneval <", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalLessThanOrEqualTo(Boolean value) {
            addCriterion("is_support_reneval <=", value, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("is_support_reneval <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalIn(List<Boolean> values) {
            addCriterion("is_support_reneval in", values, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalNotIn(List<Boolean> values) {
            addCriterion("is_support_reneval not in", values, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalBetween(Boolean value1, Boolean value2) {
            addCriterion("is_support_reneval between", value1, value2, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andIsSupportRenevalNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_support_reneval not between", value1, value2, "isSupportReneval");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyIsNull() {
            addCriterion("reneval_money is null");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyIsNotNull() {
            addCriterion("reneval_money is not null");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyEqualTo(BigDecimal value) {
            addCriterion("reneval_money =", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("reneval_money <>", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyGreaterThan(BigDecimal value) {
            addCriterion("reneval_money >", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reneval_money >=", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyLessThan(BigDecimal value) {
            addCriterion("reneval_money <", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reneval_money <=", value, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_money <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyIn(List<BigDecimal> values) {
            addCriterion("reneval_money in", values, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("reneval_money not in", values, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reneval_money between", value1, value2, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reneval_money not between", value1, value2, "renevalMoney");
            return (Criteria) this;
        }

        public Criteria andRenevalPointIsNull() {
            addCriterion("reneval_point is null");
            return (Criteria) this;
        }

        public Criteria andRenevalPointIsNotNull() {
            addCriterion("reneval_point is not null");
            return (Criteria) this;
        }

        public Criteria andRenevalPointEqualTo(BigDecimal value) {
            addCriterion("reneval_point =", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointNotEqualTo(BigDecimal value) {
            addCriterion("reneval_point <>", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointGreaterThan(BigDecimal value) {
            addCriterion("reneval_point >", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reneval_point >=", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointLessThan(BigDecimal value) {
            addCriterion("reneval_point <", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reneval_point <=", value, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("reneval_point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRenevalPointIn(List<BigDecimal> values) {
            addCriterion("reneval_point in", values, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointNotIn(List<BigDecimal> values) {
            addCriterion("reneval_point not in", values, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reneval_point between", value1, value2, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andRenevalPointNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reneval_point not between", value1, value2, "renevalPoint");
            return (Criteria) this;
        }

        public Criteria andPointRatioIsNull() {
            addCriterion("point_ratio is null");
            return (Criteria) this;
        }

        public Criteria andPointRatioIsNotNull() {
            addCriterion("point_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andPointRatioEqualTo(Integer value) {
            addCriterion("point_ratio =", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioNotEqualTo(Integer value) {
            addCriterion("point_ratio <>", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioGreaterThan(Integer value) {
            addCriterion("point_ratio >", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioGreaterThanOrEqualTo(Integer value) {
            addCriterion("point_ratio >=", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioLessThan(Integer value) {
            addCriterion("point_ratio <", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioLessThanOrEqualTo(Integer value) {
            addCriterion("point_ratio <=", value, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("point_ratio <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointRatioIn(List<Integer> values) {
            addCriterion("point_ratio in", values, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioNotIn(List<Integer> values) {
            addCriterion("point_ratio not in", values, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioBetween(Integer value1, Integer value2) {
            addCriterion("point_ratio between", value1, value2, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andPointRatioNotBetween(Integer value1, Integer value2) {
            addCriterion("point_ratio not between", value1, value2, "pointRatio");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(LocalDateTime value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(LocalDateTime value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(LocalDateTime value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<LocalDateTime> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<LocalDateTime> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("start_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("end_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("`status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBuyTimesIsNull() {
            addCriterion("buy_times is null");
            return (Criteria) this;
        }

        public Criteria andBuyTimesIsNotNull() {
            addCriterion("buy_times is not null");
            return (Criteria) this;
        }

        public Criteria andBuyTimesEqualTo(Integer value) {
            addCriterion("buy_times =", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesNotEqualTo(Integer value) {
            addCriterion("buy_times <>", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesGreaterThan(Integer value) {
            addCriterion("buy_times >", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_times >=", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesLessThan(Integer value) {
            addCriterion("buy_times <", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesLessThanOrEqualTo(Integer value) {
            addCriterion("buy_times <=", value, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("buy_times <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andBuyTimesIn(List<Integer> values) {
            addCriterion("buy_times in", values, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesNotIn(List<Integer> values) {
            addCriterion("buy_times not in", values, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesBetween(Integer value1, Integer value2) {
            addCriterion("buy_times between", value1, value2, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andBuyTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_times not between", value1, value2, "buyTimes");
            return (Criteria) this;
        }

        public Criteria andDicountPerIsNull() {
            addCriterion("dicount_per is null");
            return (Criteria) this;
        }

        public Criteria andDicountPerIsNotNull() {
            addCriterion("dicount_per is not null");
            return (Criteria) this;
        }

        public Criteria andDicountPerEqualTo(BigDecimal value) {
            addCriterion("dicount_per =", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerNotEqualTo(BigDecimal value) {
            addCriterion("dicount_per <>", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerGreaterThan(BigDecimal value) {
            addCriterion("dicount_per >", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("dicount_per >=", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerLessThan(BigDecimal value) {
            addCriterion("dicount_per <", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("dicount_per <=", value, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("dicount_per <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDicountPerIn(List<BigDecimal> values) {
            addCriterion("dicount_per in", values, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerNotIn(List<BigDecimal> values) {
            addCriterion("dicount_per not in", values, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dicount_per between", value1, value2, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andDicountPerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dicount_per not between", value1, value2, "dicountPer");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsIsNull() {
            addCriterion("gift_card_ids is null");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsIsNotNull() {
            addCriterion("gift_card_ids is not null");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsEqualTo(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids =", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsNotEqualTo(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids <>", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsNotEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsGreaterThan(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids >", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsGreaterThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsGreaterThanOrEqualTo(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids >=", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsGreaterThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsLessThan(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids <", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsLessThanColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsLessThanOrEqualTo(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids <=", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsLessThanOrEqualToColumn(LumierePayMember.Column column) {
            addCriterion(new StringBuilder("gift_card_ids <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsLike(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids like", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsNotLike(Integer[] value) {
            addGiftCardIdsCriterion("gift_card_ids not like", value, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsIn(List<Integer[]> values) {
            addGiftCardIdsCriterion("gift_card_ids in", values, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsNotIn(List<Integer[]> values) {
            addGiftCardIdsCriterion("gift_card_ids not in", values, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsBetween(Integer[] value1, Integer[] value2) {
            addGiftCardIdsCriterion("gift_card_ids between", value1, value2, "giftCardIds");
            return (Criteria) this;
        }

        public Criteria andGiftCardIdsNotBetween(Integer[] value1, Integer[] value2) {
            addGiftCardIdsCriterion("gift_card_ids not between", value1, value2, "giftCardIds");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private LumierePayMemberExample example;

        protected Criteria(LumierePayMemberExample example) {
            super();
            this.example = example;
        }

        public LumierePayMemberExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(LumierePayMember.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LumierePayMember.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(org.linlinjava.litemall.db.domain.LumierePayMemberExample example);
    }
}